export module airline_ticket;

import <string>;

export struct Employee
{
	char firstName;
	char lastName;
	int number;
	int salary{ 75'000 };
};


export class AirlineTicket
{
public:
	AirlineTicket();
	AirlineTicket(const std::string &name, int miles, bool status);
	~AirlineTicket();

	double calculatePriceInDollars() const;

	std::string getPassengerName() const;
	void setPassengerName(const std::string &name);

	int getNumberOfMiles() const;
	void setNumberOfMiles(int miles);

	bool hasEliteSuperRewardsStatus() const;
	void setEliteSuperRewardsStatus(bool status);

private:
	std::string m_passengerName;
	int m_numberOfMiles;
	bool m_hasEliteSuperRewardsStatus;
};